package com.kma.summer2012.dao;

import com.kma.summer2012.model.CrumbsProcessHistory;

import java.sql.SQLException;
import java.util.Collection;

public interface CrumbsProcessHistoryDAO extends DAO<CrumbsProcessHistory> {
    public void add(CrumbsProcessHistory o) throws SQLException;

    public void getHistoryForRequest(int requestID, int commenterID) throws SQLException;

    public void getHistoryForUser(int requestID, int commenterID) throws SQLException;

    public void update(CrumbsProcessHistory o) throws SQLException;

    public CrumbsProcessHistory getById(int id) throws SQLException;

    public Collection<CrumbsProcessHistory> getAll() throws SQLException;

    public void delete(CrumbsProcessHistory o) throws SQLException;
}
